package com.yb.domain.VO;

import com.yb.bussiness.shoper.BrandService;
import com.yb.bussiness.shoper.BrandServiceImpl;

public class PingouVO {
	private Long brandId;
	private Long categoryId;
	private Long typeId;
	private String imgSrc;
	private Integer count1;
	private Integer count2;
	private Integer count3;
	private Integer count4;
	private Integer count5;
	private Integer count6;
	private Integer count7;
	private Integer count8;
	private Integer count9;
	private Integer count10;
	private Integer count11;
	private Integer count12;
	private Integer countAll;
	private Integer weights;
	private Integer activityFlag;

	public Integer getWeights() {
		return weights;
	}

	public void setWeights(Integer weights) {
		this.weights = weights;
	}

	public Integer getCount7() {
		return count7;
	}

	public void setCount7(Integer count7) {
		this.count7 = count7;
	}

	public Integer getCount8() {
		return count8;
	}

	public void setCount8(Integer count8) {
		this.count8 = count8;
	}

	public Integer getCount9() {
		return count9;
	}

	public void setCount9(Integer count9) {
		this.count9 = count9;
	}

	public Integer getCount10() {
		return count10;
	}

	public void setCount10(Integer count10) {
		this.count10 = count10;
	}

	public Integer getCount11() {
		return count11;
	}

	public void setCount11(Integer count11) {
		this.count11 = count11;
	}

	public Integer getCount12() {
		return count12;
	}

	public void setCount12(Integer count12) {
		this.count12 = count12;
	}

	public Long getBrandId() {
		return brandId;
	}

	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}

	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}

	public Integer getCount1() {
		return count1;
	}

	public void setCount1(Integer count1) {
		this.count1 = count1;
	}

	public Integer getCount2() {
		return count2;
	}

	public void setCount2(Integer count2) {
		this.count2 = count2;
	}

	public Integer getCount3() {
		return count3;
	}

	public void setCount3(Integer count3) {
		this.count3 = count3;
	}

	public Integer getCount4() {
		return count4;
	}

	public void setCount4(Integer count4) {
		this.count4 = count4;
	}

	public Integer getCount5() {
		return count5;
	}

	public void setCount5(Integer count5) {
		this.count5 = count5;
	}

	public Integer getCount6() {
		return count6;
	}

	public void setCount6(Integer count6) {
		this.count6 = count6;
	}

	public Integer getCountAll() {
		if (null == countAll) {
			BrandService brandService = new BrandServiceImpl();
			countAll = brandService
					.findPingouCount(brandId, categoryId, typeId);
		}
		return countAll;
	}

	public void setCountAll(Integer countAll) {
		this.countAll = countAll;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}

    public Integer getActivityFlag() {
        return activityFlag;
    }

    public void setActivityFlag(Integer activityFlag) {
        this.activityFlag = activityFlag;
    }

}
